package com.ocean.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务执行状态日志(新功能)对象 o_file_metadata_log
 * 
 * @author ocean
 * @date 2025-10-30
 */
public class OFileMetadataLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务编码")
    private String rwId;

    /** 元数据id */
    @Excel(name = "元数据id")
    private String fmId;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sj;

    /** 执行状态(内容) */
    @Excel(name = "执行状态(内容)")
    private String zt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRwId(String rwId)
    {
        this.rwId = rwId;
    }

    public String getRwId()
    {
        return rwId;
    }
    public void setFmId(String fmId) 
    {
        this.fmId = fmId;
    }

    public String getFmId() 
    {
        return fmId;
    }
    public void setSj(Date sj) 
    {
        this.sj = sj;
    }

    public Date getSj() 
    {
        return sj;
    }
    public void setZt(String zt) 
    {
        this.zt = zt;
    }

    public String getZt() 
    {
        return zt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rwId", getRwId())
            .append("fmId", getFmId())
            .append("sj", getSj())
            .append("zt", getZt())
            .toString();
    }
}
